package RadianceM.DistributionSystem.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode
@ToString
@Schema(
        name = "Plane",
        title = "平面图表",
        description = ""
)
@TableName(value = "model_plane")
public class Plane {

    @Schema(title = "平面图id", description = "")
    @TableId(value = "plane_id")
    private Long id;

    @Schema(title = "高校id", description = "")
    @TableField(value = "college_id")
    private Long collegeId;

    @Schema(title = "平面名称", description = "")
    @TableField(value = "plane_name")
    private String name;
}

